package net.spatula.tally_ho.model;

/* Copyright 2006 Nicklas R Johnson
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */

import java.io.Serializable;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="article_audit")
public class ArticleAudit implements Serializable {
	@Id
	@Column(name="audit_id")
	private long auditId;

	private long creator;

	private String summary;

	private long views;

	private long body;

	private long status;

	@Column(name="change_summary")
	private String changeSummary;

	@Column(name="create_date")
	private Timestamp createDate;

	@Column(name="object_id")
	private long objectId;

	@Column(name="change_type")
	private long changeType;

	@Column(name="thumbs_up")
	private long thumbsUp;

	@Column(name="change_time")
	private Timestamp changeTime;

	private long section;

	private long mailed;

	@Column(name="thumbs_down")
	private long thumbsDown;

	private long version;

	private String title;

	private long changer;

	private String adjective;

	private long visible;

	private static final long serialVersionUID = 1L;

	public ArticleAudit() {
		super();
	}

	public long getAuditId() {
		return this.auditId;
	}

	public void setAuditId(long auditId) {
		this.auditId = auditId;
	}

	public long getCreator() {
		return this.creator;
	}

	public void setCreator(long creator) {
		this.creator = creator;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public long getViews() {
		return this.views;
	}

	public void setViews(long views) {
		this.views = views;
	}

	public long getBody() {
		return this.body;
	}

	public void setBody(long body) {
		this.body = body;
	}

	public long getStatus() {
		return this.status;
	}

	public void setStatus(long status) {
		this.status = status;
	}

	public String getChangeSummary() {
		return this.changeSummary;
	}

	public void setChangeSummary(String changeSummary) {
		this.changeSummary = changeSummary;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public long getObjectId() {
		return this.objectId;
	}

	public void setObjectId(long objectId) {
		this.objectId = objectId;
	}

	public long getChangeType() {
		return this.changeType;
	}

	public void setChangeType(long changeType) {
		this.changeType = changeType;
	}

	public long getThumbsUp() {
		return this.thumbsUp;
	}

	public void setThumbsUp(long thumbsUp) {
		this.thumbsUp = thumbsUp;
	}

	public Timestamp getChangeTime() {
		return this.changeTime;
	}

	public void setChangeTime(Timestamp changeTime) {
		this.changeTime = changeTime;
	}

	public long getSection() {
		return this.section;
	}

	public void setSection(long section) {
		this.section = section;
	}

	public long getMailed() {
		return this.mailed;
	}

	public void setMailed(long mailed) {
		this.mailed = mailed;
	}

	public long getThumbsDown() {
		return this.thumbsDown;
	}

	public void setThumbsDown(long thumbsDown) {
		this.thumbsDown = thumbsDown;
	}

	public long getVersion() {
		return this.version;
	}

	public void setVersion(long version) {
		this.version = version;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public long getChanger() {
		return this.changer;
	}

	public void setChanger(long changer) {
		this.changer = changer;
	}

	public String getAdjective() {
		return this.adjective;
	}

	public void setAdjective(String adjective) {
		this.adjective = adjective;
	}

	public long getVisible() {
		return this.visible;
	}

	public void setVisible(long visible) {
		this.visible = visible;
	}

}
